Class com.symantec.itools.frameworks.application.commandline.Application
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.frameworks.application.commandline.Application

Object
   |
   +----com.symantec.itools.frameworks.application.commandline.Application

public abstract class Application
extends Object
Application is an abstract base class for all command line application. Application provides a framework for handling command line arguments.

Version:
1.0
Author:
Symantec Internet Tools Division
Since:
VCafe 3.0

Variable Index

 o allowNoArgs
 o defaultOption
 o options
 o optionsArray
 o optionsLoaded

Constructor Index

 o com.symantec.itools.frameworks.application.commandline.Application()
 o com.symantec.itools.frameworks.application.commandline.Application(boolean)

Method Index

 o getOptions()
 o loadOptions()
 o parseArgs(String[])
 o run(String[])
 o setDefaultOption(Option)
 o showHelp()
 o showUsage()

Variables

 o allowNoArgs
protected boolean allowNoArgs

Since: VCafe 3.0
 o defaultOption
protected com.symantec.itools.frameworks.application.commandline.Option defaultOption

Since: VCafe 3.0
 o options
protected java.util.Hashtable options

Since: VCafe 3.0
 o optionsArray
protected com.symantec.itools.frameworks.application.commandline.Option[] optionsArray

Since: VCafe 3.0
 o optionsLoaded
protected boolean optionsLoaded

Since: VCafe 3.0

Constructors

 o Application
protected Application()
 o Application
protected Application(boolean f)

Methods

 o getOptions
protected com.symantec.itools.frameworks.application.commandline.Option[] getOptions()

Since:
VCafe 3.0
 o loadOptions
protected void loadOptions()

Since:
VCafe 3.0
 o parseArgs
protected boolean parseArgs(String[] args) throws InvalidArgumentException

Parameters:
args - TODO
Throws: InvalidArgumentException
Since:
VCafe 3.0
 o run
public void run(String[] args) throws InvalidArgumentException

Parameters:
args - TODO
Throws: InvalidArgumentException
Since:
VCafe 3.0
 o setDefaultOption
protected void setDefaultOption(Option option)

Parameters:
option - TODO
Since:
VCafe 3.0
 o showHelp
public void showHelp()

Since:
VCafe 3.0
 o showUsage
public void showUsage()

Since:
VCafe 3.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index